﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace WeChatSDK.WeChatDto.Conversation.ReceivingMessage.EventMessage
{
    /// <summary>
    /// 小程序Widget事件消息
    /// </summary>
    [XmlRoot(Namespace = "", IsNullable = false, ElementName = "xml")]
    public class WidgetEventMessageDto:EventMessageDto
    {
        /// <summary>
        /// 小程序专属
        /// 消息query参数
        /// </summary>
        [XmlElement("Query", DataType = "string")]
        public string Query { get; set; }
        /// <summary>
        /// 小程序专属
        /// 场景值，固定为1
        /// </summary>
        [XmlElement("Scene", DataType = "int")]
        public int Scene { get; set; }
    }
}
